
 /**
 * IGroupDao.java.java.
 * User: BrianChen Date: 2012-6-7 下午09:06:36
 *
 * Copyright (c) 2009 Hewlett-Packard Development Company, L.P.
 * All rights reserved.
 */
package com.collapsar.core.security.dao;

import com.collapsar.core.security.model.Group;

/**
 * <pre>
 * REVISIONS: 
 * Version 	Date 		Author 			Description
 * ------------------------------------------------------------------- 
 * 1.0 		2012-6-7 	BrianChen 	1. Created this class. 
 * </pre>
 * 
 * @author BrianChen
 * @date 2012-6-7 下午09:06:36
 * @version 1.0
 * @see
 * 
 */
public interface IGroupDao {
	void storeGroup(Group group);
	
	void deleteGroup(Long groupId);
	void deleteAllGroups(Long groupIds[]);
	
	Group loadGroup(Long groupId);
//	Group loadGroupWithRoles(Long groupId);
	Group loadGroupWithUsers(Long groupId);
	Group loadGroupWithRolesAndUsers(Long groupId);
	
	Group getGroupByName(String groupName);
}

